﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DungeonCraft.DataModel.Abilities.Interfaces;

namespace DungeonCraft.DataModel.Abilities
{
    public class WalkUp : IAbility
    {
        public string Execute(DataModel.Interfaces.ILevel level, Player player, IGuard guard, Location mouseLocation)
        {
            
            if (!guard.Check(level, player, this))
                return "Could not walk";
            player.Direction = Player.Directions.Up;
            player.Move(0, -player.Speed);
            return "Walked to " + player.Location.X + "," + player.Location.Y;
        }


        public bool Drawable()
        {
            return false;
        }
    }
}
